﻿using mozhi.smarterp.AuthorCenter.Enums;
using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace mozhi.smarterp.AuthorCenter.Permissions.Items
{
    public class PermissionGroupCreateDto
    {
        public string Code {  get; set; }

        public string Name { get; set; }

        public PermissionType Type { get; set; }

        public List<PermissionItemDto> Items { get; set; }
    }

    public class PermissionItemCreateDto
    {
        public string Code { get; set; }

        public string Name { get; set; }

        public PermissionType Type { get; set; }

        public Guid? ParentId { get; set; }

        public Guid PermissionGroupId { get; set; }
    }
}
